$OpenBSD: patch-Makefile_in,v 1.10 2014/11/18 18:59:08 kili Exp $
--- Makefile.in.orig	Tue Nov  4 19:46:21 2014
+++ Makefile.in	Sun Nov 16 23:46:02 2014
@@ -376,6 +376,8 @@ POPPLER_QT4_CXXFLAGS = @POPPLER_QT4_CXXFLAGS@
 POPPLER_QT4_LIBS = @POPPLER_QT4_LIBS@
 POPPLER_QT4_TEST_CFLAGS = @POPPLER_QT4_TEST_CFLAGS@
 POPPLER_QT4_TEST_LIBS = @POPPLER_QT4_TEST_LIBS@
+POPPLER_QT_CXXFLAGS = @POPPLER_QT_CXXFLAGS@
+POPPLER_QT_LIBS = @POPPLER_QT_LIBS@
 POPPLER_QT5_CFLAGS = @POPPLER_QT5_CFLAGS@
 POPPLER_QT5_CXXFLAGS = @POPPLER_QT5_CXXFLAGS@
 POPPLER_QT5_LIBS = @POPPLER_QT5_LIBS@
@@ -438,6 +440,8 @@ infodir = @infodir@
 install_sh = @install_sh@
 libdir = @libdir@
 libexecdir = @libexecdir@
+libqt3_CFLAGS = @libqt3_CFLAGS@
+libqt3_LIBS = @libqt3_LIBS@
 localedir = @localedir@
 localstatedir = @localstatedir@
 mandir = @mandir@
@@ -463,13 +467,15 @@ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --with-te
 @BUILD_CAIRO_OUTPUT_TRUE@cairo_pc_file = poppler-cairo.pc
 @BUILD_POPPLER_GLIB_TRUE@glib_subdir = glib
 @BUILD_POPPLER_GLIB_TRUE@glib_pc_file = poppler-glib.pc
+@BUILD_POPPLER_QT_TRUE@qt_subdir = qt
+@BUILD_POPPLER_QT_TRUE@qt_pc_file = poppler-qt.pc
 @BUILD_POPPLER_QT5_TRUE@qt5_subdir = qt5
 @BUILD_POPPLER_QT5_TRUE@qt5_pc_file = poppler-qt5.pc
 @BUILD_POPPLER_QT4_TRUE@qt4_subdir = qt4
 @BUILD_POPPLER_QT4_TRUE@qt4_pc_file = poppler-qt4.pc
 @BUILD_POPPLER_CPP_TRUE@cpp_subdir = cpp
 @BUILD_POPPLER_CPP_TRUE@cpp_pc_file = poppler-cpp.pc
-SUBDIRS = goo fofi $(splash_subdir) poppler utils $(glib_subdir) test $(qt4_subdir) $(qt5_subdir) $(cpp_subdir)
+SUBDIRS = goo fofi $(splash_subdir) poppler utils $(glib_subdir) test $(qt_subdir) $(qt4_subdir) $(qt5_subdir) $(cpp_subdir)
 
 # Add CMake buildsystem files here so they get added on make dist
 EXTRA_DIST = README-XPDF poppler.pc.in poppler-uninstalled.pc.in \
@@ -514,6 +520,7 @@ pkgconfig_DATA = \
 	$(cairo_pc_file)			\
 	$(splash_pc_file)			\
 	$(glib_pc_file)				\
+	$(qt_pc_file)                           \
 	$(qt4_pc_file)				\
 	$(qt5_pc_file)				\
 	$(cpp_pc_file)
@@ -586,6 +593,10 @@ poppler-splash-uninstalled.pc: $(top_builddir)/config.
 poppler-glib.pc: $(top_builddir)/config.status $(srcdir)/poppler-glib.pc.in
 	cd $(top_builddir) && $(SHELL) ./config.status $@
 poppler-glib-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/poppler-glib-uninstalled.pc.in
+	cd $(top_builddir) && $(SHELL) ./config.status $@
+poppler-qt.pc: $(top_builddir)/config.status $(srcdir)/poppler-qt.pc.in
+	cd $(top_builddir) && $(SHELL) ./config.status $@
+poppler-qt-uninstalled.pc: $(top_builddir)/config.status $(srcdir)/poppler-qt-uninstalled.pc.in
 	cd $(top_builddir) && $(SHELL) ./config.status $@
 poppler-qt4.pc: $(top_builddir)/config.status $(srcdir)/poppler-qt4.pc.in
 	cd $(top_builddir) && $(SHELL) ./config.status $@
